package org.f0rb.demo.model.user;

import org.f0rb.demo.web.Struts2Action;
import org.f0rb.core.web.WebService;

import javax.annotation.Resource;


/**
 * Created by IntelliJ IDEA.
 *
 * @author f0rb
 *         Date: 2010-6-26
 *         Time: 22:08:31
 */
public final class UserAction extends Struts2Action<User> {
    @Resource
    private WebService<User> userService;

    public UserAction() {
        super(new User());
    }

    @Override
    protected WebService<User> getService() {
        return userService;
    }
}
